package com.ssy.lingxi.member.merchant.model.vo.comment.request;

import com.ssy.lingxi.common.model.vo.PageVO;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * 会员评价接口查询参数VO
 * @author yzc
 * @version 2.0.0
 * @date 2020/10/14
 */
public class PlatformMemberTradeCommentHistoryVO extends PageVO implements Serializable {
    private static final long serialVersionUID = -5181756804350087167L;

    /**
     * 会员id
     */
    @NotNull(message = "会员Id要大于0")
    @Positive(message = "会员Id要大于0")
    private Long memberId;

    /**
     * 会员角色id
     */
    @NotNull(message = "会员角色Id要大于0")
    @Positive(message = "会员角色Id要大于0")
    private Long roleId;

    /**
     * 评论级别 - 0或Null：全部， 1-差评（1-2星），2-中评（3星）， 3-好评（4-5星）
     */
    private Integer starLevel;

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public Integer getStarLevel() {
        return starLevel;
    }

    public void setStarLevel(Integer starLevel) {
        this.starLevel = starLevel;
    }
}
